package com.banmao.algorithm.No101To200.No105;

public class Answer {

    public static void main(String[] args) {

        int[] preorder = {3, 9, 20, 15, 7};
        int[] inorder = {9,3,15,20,7};

        Solution1 solution = new Solution1();
        TreeNode treeNode = solution.buildTree(preorder, inorder);
        System.out.println(treeNode);

    }

}
